package cn.bgs.service;

import cn.bgs.common.R;
import cn.bgs.pageUtil.PageRequest;
import cn.bgs.pojo.VehicleArea;
import cn.bgs.vo.AreaVo;
import cn.bgs.vo.CommunityVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 车位区域表 服务类
 * </p>
 *
 * @author cf
 * @since 2022-06-07
 */
public interface IVehicleAreaService extends IService<VehicleArea> {

    R carAreaList(PageRequest pageRequest);

    Object carDelete(Integer id);

    List<VehicleArea> appFindVehicleArea(Integer communityId);

    R pcAddCar(VehicleArea vehicleArea);

    R selectAreaInfo(AreaVo areaVo);

    boolean updateAreaInfo(VehicleArea vehicleArea);

    boolean addAreaInfo(VehicleArea vehicleArea);

    R deleteCarInfo(Integer vehicleAreaId);

    R info(CommunityVo communityVo);

    R selectCarInfo(PageRequest request);
}
